<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>提示</title>
    <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
</head>
<body>
        <c:if test="${sessionScope.msg == true}">
            <h1 style="color: red;text-align: center">转账成功，请点击<a href="./index.jsp">返回首页</a></h1>
        </c:if>
        <c:if test="${sessionScope.msg == false}">
           <h1 style="color: red;text-align: center">转账失败，请核对信息 <a href="./main.jsp">点击返回主页</a></h1>
        <script>
                var flag = ${sessionScope.msg};
                setTimeout(function (){
                    location.href = "./main.jsp"
                },5000)
        </script>
        </c:if>

</body>
</html>
